//
//  registViewController.h
//  百车易车险
//
//  Created by chenxu on 15/3/9.
//  Copyright (c) 2015年 chenxu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "User.h"
@interface registViewController : UIViewController <UIActionSheetDelegate>{
    NSString *name, *pass,*confirmpass;
    UIActionSheet *sheet;
}



@property (strong, nonatomic) User *myuser;

@property (weak, nonatomic) IBOutlet UITextField *namefield;
@property (weak, nonatomic) IBOutlet UITextField *passfield;
@property (weak, nonatomic) IBOutlet UITextField *confirmpassfield;
@property (weak, nonatomic) NSString *question;
@property (weak, nonatomic) IBOutlet UITextField *answerfield;

@property (strong, nonatomic) IBOutlet UIButton *submitBtn;
@property (strong, nonatomic) IBOutlet UIButton *chooseBtn;
@property (strong, nonatomic) IBOutlet UILabel *questionLabel;
- (IBAction)submit:(id)sender;
- (IBAction)turnnext:(id)sender;
- (IBAction)turnnext2:(id)sender;
- (IBAction)turnnext3:(id)sender;
- (IBAction)completeinput:(id)sender;
- (IBAction)chooseQuestion:(id)sender;

- (IBAction)begin1:(id)sender;


@end
